Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Camera Objects Routines / Managing View Plane Cameras


Q3ViewPlaneCamera_SetCenterX

You can use the Q3ViewPlaneCamera_SetCenterX function to set the horizontal center of the viewed object.

TQ3Status Q3ViewPlaneCamera_SetCenterX (
TQ3CameraObject camera, 
float centerXOnViewPlane);
camera
A view plane camera object.
centerXOnViewPlane
The desired x coordinate of the center of the viewed object.
DESCRIPTION
The Q3ViewPlaneCamera_SetCenterX function sets the x coordinate of the center of the viewed object of the camera specified by the camera parameter to the value specified in the centerXOnViewPlane parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996